package pack0621;

public class ZueYe3 {
    public static void main(String[] args) {
        int[][] a = new int[8][8];
        for (int i = 0; i < a.length; i++) {
            for (int j = 0; i <= j; j++) {
                if (j == 0|| j ==i) {
                    a[i][j] = 1;
                } else {
                    a[i][j] = a[i- 1][j] + a[i - 1][j - 1];
                    {

                    }

                }
                System.out.printf(a[i][j] + "\t");
            }

            System.out.println();
        }
    }
            }